#ifndef _IUPACKETRAW_HPP_
#define _IUPACKETRAW_HPP_

#include "iuPacket.hpp"

/**
 * @brief Classe representant un paquet Raw
 */
class iuPacketRaw : public iuPacket
{
public:
   iuPacketRaw();
   ~iuPacketRaw();
   
   uint16_t getBufferLen() const;
   uint16_t fromBuffer(const char *buffer, uint16_t len);
   uint16_t toBuffer(char *buffer) const;

private:
   uint16_t m_len;
   char *m_data;
};

#endif
